package com.ruoyi.system.service.impl;

import com.ruoyi.system.domain.Reply;
import com.ruoyi.system.mapper.ReplyMapper;
import com.ruoyi.system.service.ReplyService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
@Service
@Transactional
public class ReplyServiceImpl  implements ReplyService {

    @Resource
    private ReplyMapper replyMapper;

    @Override
    public int insertReply(Reply reply) {
        return replyMapper.insertReply(reply);
    }
}
